package com.itheima.Service;

import com.itheima.Pojo.Punishment;

import java.util.List;

public interface PunishmentService {
    List<Punishment> getAllPunishment();

    void deleteById(Integer id);

    void addPunishment(Punishment punishment);

    void updateById(Punishment punishment);
}
